import requests


symbol = "BTCUSDT"
period = "5m"
limit = 10

url = f"https://fapi.binance.com/futures/data/globalLongShortAccountRatio?symbol={symbol}&period={period}&limit={limit}"
response = requests.get(url)
data = response.json()
print(data)